package de.bbl.android.fragment;

import android.os.Bundle;
import android.support.v4.app.ListFragment;

public class EmptyCenterFragment extends ListFragment{
	
	public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        // String[] notYetImplemented = new String[] {"Not Yet Implemented"};
        
        // ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, notYetImplemented);
        // setListAdapter(adapter);
        // setListAdapter(null);
	}
	
	public static EmptyCenterFragment newInstance(int index) {
		EmptyCenterFragment f = new EmptyCenterFragment();

        Bundle args = new Bundle();
        args.putInt("index", index);
        f.setArguments(args);

        return f;
    }
	
    public int getShownIndex() {
        return getArguments().getInt("index", 0);
    }
}
